pp108 : Is Working Time

Is Working Time


This method checks if the given date time is a working time according to the specified business calendar.

SOAP Request

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Body>
        <isWorkingTime xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0">
            <WorkspaceID>002481F0-8E9F-11E2-EE36-A5EED1105F38</WorkspaceID>
            <calendarName>Business Calenders/Calender1</calendarName>
            <dateTime>2008-09-23T22:37:53:234</dateTime>
        </isWorkingTime>
    </SOAP:Body>
</SOAP:Envelope>
Request Parameters

Parameter

Description

Mandatory

Accepted Input Values

WorkspaceID ID of CWS Workspace No GUID (optional)

calendarName

This element is a unique identifier for the calendar. This can be a fully qualified name or a document ID.

Yes

You can specify one of the following values:

  • Full Qualified Name (FQN)
  • Document ID

dateTime

Any date time which needs to be checked

Yes

Date must be in the UTC format. For example, 2008-09-23T22:37:53:234.

SOAP Response

<data>
 <isWorkingTimeResponse xmlns:SOAP="http://schemas.xmlsoap.org./soap/envelope/" xmlns="http://schemas.cordys.com/buscalendar/runtime/BusinessCalendar/1.0">
	 	<isWorkingTime>true</isWorkingTime>
 </isWorkingTimeResponse>
 <data>
   
Response Parameters

Parameter

Description

isWorkingTime

[true | false]